﻿<script type="text/javascript">
    $(document).ready(function () {

        var tele = 'Enter Telephone number';


        $('#tel').val(tele).addClass('watermark');
        $('#tel').blur(function () {
            if ($(this).val().length == 0) {
                $(this).val(tele).addClass('watermark');
            }
        });
        $('#tel').focus(function () {
            if ($(this).val() == tele) {
                $(this).val('').removeClass('watermark');
            }
        });

        //called when key is pressed in textbox
        $("#tel").keypress(function (e) {
            //if the letter is not digit then display error and don't type anything
            if (e.which != 8 && e.which != 0 && (e.which < 48 || e.which > 57)) {
                //display error message
                $("#errmsg").html("Digits Only").show().delay(3000).fadeOut(1000);
                return false;
            }
        });
    });
</script>

<div id="mainContent" class="container_12">            
	<img class="images_banner" alt="" src="@Url.Content("~/Content/Home/image/askpldt_banner.jpg")"/>
	<div class="clear"></div>

    <a class="back-arrowNav" id="lnkBack" title="Back to Quick Self-care Transactions" href="/Home">
    <img class="unit" alt="" src="@Url.Content("~/Content/Home/image/arrow.gif")"/>
    Back to Quick Self-care Transactions</a>
    <h3 class="menu_title">Trouble Report Follow-up</h3>
    @using (Ajax.BeginForm("FollowUpTroubleReport", "Home", new AjaxOptions
    {
        HttpMethod = "Post",
        InsertionMode = InsertionMode.Replace,
        UpdateTargetId = "loadFollowUpTroubleReport"
    }))
    {
     <div class="menu_content">
        <div><input type="text" id="tel" name="telephone"/> <span id="errmsg" class="label label-info"></span></div>
        <div><span class="help-block font_style_i span_move">example: 028855555</span></div>

        <input class="button_example" type="submit" name="submit" id="submit" value=" Submit "/>
    </div>   
     }   
        

    <div id="loadFollowUpTroubleReport">
        @Html.Partial("_FollowUpTroubleRep")
    </div>

</div>
<div class="clear"></div>